package com.fwj.core.common.constant;

/**
 * @Author: fwj
 * @Data: 2022/4/10 0:52
 * @Version 1.0
 * @Description: 正则匹配常量
 */


public class RegExConstant {
    /**
     * 电话
     * */
    public static final String Phone = "^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\\d{8}$";
    /**
     * 邮箱
     * */
    public static final String Email = "^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)+$";
    /**
     *
     * */
    public static final String Password = "^([0-9a-zA-z])([0-9a-zA-Z._-]{7,15})$";

}
